package com.ssy.lingxi.order.model.vo.basic.request;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 预下单信息缓存接口参数
 * @author 万宁
 * @version 2.0.0
 * @date 2021-07-20
 */
public class PreOrderCacheVO implements Serializable {
    private static final long serialVersionUID = 4063819942988506737L;

    /**
     * 缓存的Key
     */
    @NotBlank(message = "缓存Key不能为空")
    private String key;

    /**
     * 缓存的Value
     */
    @NotBlank(message = "缓存Value不能为空")
    private String value;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
